# Contributor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=vifm
pkgver=0.9
pkgrel=0
pkgdesc="Ncurses based file manager with vi like keybindings"
url="http://vifm.info/"
arch="x86_64"
license="GPL-2"
depends="ncurses-libs"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
    ./configure --prefix=/usr --sysconfdir=/etc || return 1
    make || return 1
}

package() {
	cd "$builddir"
    make DESTDIR=$pkgdir install || return 1
}

sha512sums="5ae2b03e672bd9a7f95a5c59141dabac8bc7946a4e307d6a3df70bdb52e1f7665b960a3d20709c811cbfbcf76f7836d23b5edb191968e5277fb705a291ab3a9a  vifm-0.9.tar.bz2"
